#include <mockcpp/mockcpp.hpp>
#include <testngpp/testngpp.hpp>


USING_MOCKCPP_NS
USING_TESTNGPP_NS

#include <LengthUnit.h>

FIXTURE(LengthUnit)
{
	TEST(Amount can be converted to amount of base unit)
	{
		LengthUnit mile(1760*3*12, "MILE");
		ASSERT_EQ(3*1760*3*12, mile.toAmountOfBaseUnit(3));
	}
};
